package com.fs.ssm004.service;

import com.fs.ssm004.pojo.Teacher;

import java.util.Map;

public interface TeacherService {
    //登录
    Map<String,Object> login(String teacherName,String password);
    //通过用户账号查询用户信息
    Teacher getOneByTeachername(String teacherName);

    //退出登录
    Teacher logout();
}
